package entity;

import java.util.List;

/**
 * Created by Mr.xingkong on 2016/1/14.
 */
public class TotalList_Import_Entity
{

    /**
     * code : 1000
     * msg : 请求成功
     * data : {"page":0,"pageSize":1,"itemCount":3,"pList":[{"productId":11389,"title":"单只装/美国进口 Yummy Earth亚米天然有机棒棒糖 7g","imgUrl":"http://img.taotaosou.cn/size/image16/M0B/05/17/CgAAQ1YcfOsIAAAAAAK2SmTrLvgAAH9DQEyxtIAArZi179.jpg","price":150,"priceStr":"1.50","originalPrice":225,"originalPriceStr":"2.25","salesVolume":57,"originName":"美国","iconUrl":"http://img02.taotaosou.cn/size/image15/M04/04/BA/wKgDtlXmmqsIAAAAAAADT-_zLdoAAHYvQINRHIAAANn507.png","shortDesc":"不含化学添加剂哦","packProductId":11391},{"productId":11390,"title":"单只装 / 好丽友  鲫鱼型蛋糕派 打鱼糕","imgUrl":"http://img03.taotaosou.cn/size/image16/M03/05/17/CgAAQFYce5oIAAAAAAIr9eynPkQAAH9BAPst1EAAiwN910.jpg","price":350,"priceStr":"3.50","originalPrice":525,"originalPriceStr":"5.25","salesVolume":16,"originName":"韩国","iconUrl":"http://img03.taotaosou.cn/size/image15/M0B/04/BA/wKgDt1XmmksIAAAAAAADSQhNjaUAAHYxwEW3jgAAANh885.png","shortDesc":"香糯可口，充满童趣的蛋糕","packProductId":11395},{"productId":11384,"title":"单只装/日本进口 布尔本波路梦 小麦胚芽碎杏仁奶油蛋挞曲奇饼干 19g","imgUrl":"http://img02.taotaosou.cn/size/image16/M0C/05/16/CgAAQ1YcdB0IAAAAAADDWek-nt8AAH8wgJwa9gAAMNx198.jpg","price":250,"priceStr":"2.50","originalPrice":375,"originalPriceStr":"3.75","salesVolume":41,"originName":"日本","iconUrl":"http://img02.taotaosou.cn/size/image15/M07/04/BA/wKgDtlXmmjoIAAAAAAABZhq9LHQAAHYxAMfLfMAAAF-786.png","shortDesc":"停不下嘴的甜蜜美味"}]}
     */

    private int code;
    private String msg;
    /**
     * page : 0
     * pageSize : 1
     * itemCount : 3
     * pList : [{"productId":11389,"title":"单只装/美国进口 Yummy Earth亚米天然有机棒棒糖 7g","imgUrl":"http://img.taotaosou.cn/size/image16/M0B/05/17/CgAAQ1YcfOsIAAAAAAK2SmTrLvgAAH9DQEyxtIAArZi179.jpg","price":150,"priceStr":"1.50","originalPrice":225,"originalPriceStr":"2.25","salesVolume":57,"originName":"美国","iconUrl":"http://img02.taotaosou.cn/size/image15/M04/04/BA/wKgDtlXmmqsIAAAAAAADT-_zLdoAAHYvQINRHIAAANn507.png","shortDesc":"不含化学添加剂哦","packProductId":11391},{"productId":11390,"title":"单只装 / 好丽友  鲫鱼型蛋糕派 打鱼糕","imgUrl":"http://img03.taotaosou.cn/size/image16/M03/05/17/CgAAQFYce5oIAAAAAAIr9eynPkQAAH9BAPst1EAAiwN910.jpg","price":350,"priceStr":"3.50","originalPrice":525,"originalPriceStr":"5.25","salesVolume":16,"originName":"韩国","iconUrl":"http://img03.taotaosou.cn/size/image15/M0B/04/BA/wKgDt1XmmksIAAAAAAADSQhNjaUAAHYxwEW3jgAAANh885.png","shortDesc":"香糯可口，充满童趣的蛋糕","packProductId":11395},{"productId":11384,"title":"单只装/日本进口 布尔本波路梦 小麦胚芽碎杏仁奶油蛋挞曲奇饼干 19g","imgUrl":"http://img02.taotaosou.cn/size/image16/M0C/05/16/CgAAQ1YcdB0IAAAAAADDWek-nt8AAH8wgJwa9gAAMNx198.jpg","price":250,"priceStr":"2.50","originalPrice":375,"originalPriceStr":"3.75","salesVolume":41,"originName":"日本","iconUrl":"http://img02.taotaosou.cn/size/image15/M07/04/BA/wKgDtlXmmjoIAAAAAAABZhq9LHQAAHYxAMfLfMAAAF-786.png","shortDesc":"停不下嘴的甜蜜美味"}]
     */

    private DataEntity data;

    public void setCode(int code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private int page;
        private int pageSize;
        private int itemCount;
        /**
         * productId : 11389
         * title : 单只装/美国进口 Yummy Earth亚米天然有机棒棒糖 7g
         * imgUrl : http://img.taotaosou.cn/size/image16/M0B/05/17/CgAAQ1YcfOsIAAAAAAK2SmTrLvgAAH9DQEyxtIAArZi179.jpg
         * price : 150
         * priceStr : 1.50
         * originalPrice : 225
         * originalPriceStr : 2.25
         * salesVolume : 57
         * originName : 美国
         * iconUrl : http://img02.taotaosou.cn/size/image15/M04/04/BA/wKgDtlXmmqsIAAAAAAADT-_zLdoAAHYvQINRHIAAANn507.png
         * shortDesc : 不含化学添加剂哦
         * packProductId : 11391
         */

        private List<PListEntity> pList;

        public void setPage(int page) {
            this.page = page;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public void setItemCount(int itemCount) {
            this.itemCount = itemCount;
        }

        public void setPList(List<PListEntity> pList) {
            this.pList = pList;
        }

        public int getPage() {
            return page;
        }

        public int getPageSize() {
            return pageSize;
        }

        public int getItemCount() {
            return itemCount;
        }

        public List<PListEntity> getPList() {
            return pList;
        }

        public static class PListEntity {
            private int productId;
            private String title;
            private String imgUrl;
            private int price;
            private String priceStr;
            private int originalPrice;
            private String originalPriceStr;
            private int salesVolume;
            private String originName;
            private String iconUrl;
            private String shortDesc;
            private int packProductId;

            public void setProductId(int productId) {
                this.productId = productId;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public void setImgUrl(String imgUrl) {
                this.imgUrl = imgUrl;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public void setPriceStr(String priceStr) {
                this.priceStr = priceStr;
            }

            public void setOriginalPrice(int originalPrice) {
                this.originalPrice = originalPrice;
            }

            public void setOriginalPriceStr(String originalPriceStr) {
                this.originalPriceStr = originalPriceStr;
            }

            public void setSalesVolume(int salesVolume) {
                this.salesVolume = salesVolume;
            }

            public void setOriginName(String originName) {
                this.originName = originName;
            }

            public void setIconUrl(String iconUrl) {
                this.iconUrl = iconUrl;
            }

            public void setShortDesc(String shortDesc) {
                this.shortDesc = shortDesc;
            }

            public void setPackProductId(int packProductId) {
                this.packProductId = packProductId;
            }

            public int getProductId() {
                return productId;
            }

            public String getTitle() {
                return title;
            }

            public String getImgUrl() {
                return imgUrl;
            }

            public int getPrice() {
                return price;
            }

            public String getPriceStr() {
                return priceStr;
            }

            public int getOriginalPrice() {
                return originalPrice;
            }

            public String getOriginalPriceStr() {
                return originalPriceStr;
            }

            public int getSalesVolume() {
                return salesVolume;
            }

            public String getOriginName() {
                return originName;
            }

            public String getIconUrl() {
                return iconUrl;
            }

            public String getShortDesc() {
                return shortDesc;
            }

            public int getPackProductId() {
                return packProductId;
            }
        }
    }
}
